package com.climb.moive.service;

import com.climb.moive.entity.MovieReview;

import java.util.List;

public interface MovieReviewService {
    Integer countMovieReviewNum();
    /*计算单个会员的评论*/
    Integer countMovieEvaluationNum(Integer memid) ;
    /**@param mid
     * 删除某个会员的评论
     * */
    void delet(Integer mid);

    /*对会员评论的查看与删除*/
    /**删除某条品论*/
    void deleteByRid(Integer id);

    MovieReview findReviewByRid(Integer id);

    List<MovieReview> findAllReview();

    List<MovieReview> findReviewByMoiveid(Integer id);

    void saveMovieReview(MovieReview movieReview);

    List<MovieReview> findReviewByMemberId(Integer id);
}
